// eslint-disable-next-line no-undef
const mixin = Behavior({
  data: {
    tabBar: ['/pages/index/index', '/pages/my/index']
  },
  methods: {
    istabBar(url) {
      // 判断是否是tabbar页面
      return this.data.tabBar.includes(url)
    }
  }
})

export { mixin }